package com.jeesite.modules.ocr.base;

import java.io.IOException;
import java.util.List;

import com.jeesite.modules.file.entity.FileUpload;
import com.jeesite.modules.ocr.entity.OcrTextBlock;


public interface IOcrResult extends  IOcrBaseInterface,IOcrService {
	/**
	 * 获取原始结果
	 * @param file
	 * @param ocrAlgorithmConfig
	 * @return
	 * @throws IOException 
	 */
	 List<OcrTextBlock> process(FileUpload fileUpload,IOcrAlgorithmConfig ocrAlgorithmConfig) throws IOException; 

}
